package com.rainsoft.center.isec.common.entity;


import com.rainsoft.center.isec.common.utils.ConfigurationManager;

import java.io.Serializable;

/**
 * @Name com.rainsoft.center.isec.common.entity.Constants
 * @Description
 * @Author Elwyn
 * @Version 2017/11/21
 * @Copyright 上海云辰信息科技有限公司
 **/
public class Constants implements Serializable {
	public static final String KAFKA_BROKERS =  ConfigurationManager.getProperty("kafka.brokers");
	public static final String ZK_HOSTS = ConfigurationManager.getProperty("zk.host");
	public static final String HDFS_HOST =ConfigurationManager.getProperty("hdfs.host");
	public static final String REDIS_HOST =ConfigurationManager.getProperty("redis.host");
	public static final Integer REDIS_PORT =ConfigurationManager.getInteger("redis.port");
	public static final boolean LOCAL=true;

	public static final String JDBC_DRIVER = ConfigurationManager.getProperty("datasource.master.driver-class-name");
	public static final String JDBC_URL =  ConfigurationManager.getProperty("datasource.master.url");
	public static final String JDBC_USERNAME =ConfigurationManager.getProperty("datasource.master.username");
	public static final String JDBC_PASSWORD = ConfigurationManager.getProperty("datasource.master.password");
	public static final Integer JDBC_DATASOURCE_SIZE= ConfigurationManager.getInteger("datasource.master.initialSize");;
}
